<apes-header>
  <apes-button-list class="buttonList" [ctx]="ctx" [buttonBarMetadata]="buttonBar"
                    (click)="onEvent($event)"></apes-button-list>
</apes-header>

<div apes-col [apesMd]="4" style="padding: 10px 0px 0px 10px">
  <apes-form-item>
    <apes-form-label apes-col [apesMd]="6">接车基地</apes-form-label>
    <apes-form-control apes-col [apesMd]="18">
      <ng-select [items]="rowData"
                 bindLabel="MDMC"
                 bindValue="MDID"
                   clearAllText [placeholder]="'选填'" [(ngModel)]="JCJDID" [notFoundText]="'无法找到'" typeToSearchText>
      </ng-select>
    </apes-form-control>
  </apes-form-item>
</div>

<apes-content>
  <div>
    <ag-grid-angular #grid
                     style="width: 100%;" [ngStyle]="{ height: height }" class="ag-theme-balham"
                     enableColResize="true"
                     enableSorting="true"
                     enableFilter="true"

                     suppressLoadingOverlay="true"

                     [rowData]="rowData"
                     [gridOptions]="gridOptions"
                     [columnDefs]="columnDefs"
                     [pinnedBottomRowData]="pinnedBottomRowData"
                     [getContextMenuItems]="getContextMenuItems">
    </ag-grid-angular>
  </div>
</apes-content>

